<!DOCTYPE html>
<html>
<meta http-equiv=Content-Type content="text/html;charset=utf-8">
<head>
  <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
  <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
  <!-- 
  <link href="/css/jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css"/>
  <script src="/js/jquery-1.6.2.min.js"></script>
  <script src="/js/jquery-ui-1.8.16.custom.min.js"></script>
  -->
  
  <link href="/css/4urchat.css" rel="stylesheet" type="text/css"/>
  <script src="/js/4urchat.js"></script>
  <title>Welcome to Use 4UrChat</title>
</head>
<body style="font-size:70%;">

	<%
		if(request.getSession().getAttribute("isInSession") != null){
	%>
		<script>isInSession = true;</script>
	<%
		}
		if(request.getSession().getAttribute("isInited") != null){
	%>
		<script>isInited = true;</script>
	<%
		}
	%>
	<div id="log">
	</div>
	<!-- Login Form -->
	<div id="login_form" title="Start to Chat..." class="init-user-form">
		<form>
			<fieldset>
				<label for="name">Name</label>
				<input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" />
				<label for="loginemail">Your Gmail:</label>
				<input type="text" name="email" id="loginemail" value="" class="text ui-widget-content ui-corner-all" />
			</fieldset>
		</form>
	</div>
	  <div id="user_btn_container" class="ui-dialog ui-widget-content float-dialog-bottom" >
	    <div id="all_list_users" class="user-list-table">
	  		
	  	</div>
	  	<button id="user_list_btn">Online Users</button>
	  </div>
	  
	  <div id="chat_dialog" class="chat-dialog">
	  	<div id="chat_content" class="chat-content-window">
	  	</div>
	  	<textarea id="chat_input" class="chat-input"></textarea>
	  	<input type="hidden" id="to" />
	  	<input type="hidden" id="pos" />
	  	<button id="submit_input" type="submit" class="submit-input"/>
	  </div>
	  <div id="musicDiv">
	  	
	  </div>
	  <button id="play">Play</button> 
</body>
</html>
